Skip to content

CNFGWinDriver: fix swapped middle/right mouse button#130

Open
hchunhui wants to merge 2 commits into
cntools:masterfrom
hchunhui:fix
Open

CNFGWinDriver: fix swapped middle/right mouse button#130
hchunhui wants to merge 2 commits into
cntools:masterfrom
hchunhui:fix

Conversation

@hchunhui

Copy link
Copy Markdown

Correct the inverted mouse button mapping in the Win32 message loop.
WM_RBUTTONDOWN/UP was incorrectly sending button index 2 instead of 3,
while WM_MBUTTONDOWN/UP was sending 3 instead of 2. This alignment
ensures consistent behavior with X11 and other platform drivers.

@cnlohr

cnlohr commented Jul 19, 2026

Copy link
Copy Markdown
Member

I am confused by this, I didn't notice it when I was just using it earlier this week. Let me double-check this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants